<%-- 
    Document   : deleteCategory
    Created on : Dec 5, 2011, 9:22:11 PM
    Author     : Vince
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Category Deletion</title>
    </head>
    <body>
        <h1>Delete a Category:</h1>
        <form action="CourseManager" method="post" name="deleteCategoryForm">
        <TABLE class="noborder">
            ${deleteCategoryMessage}
            <TR>
                <TD>Category:</TD><TD>
                    <select name="category">
                        <c:forEach items="${categories}" var="current">
                        <option c:out value="${current}">${current}</option>
                        </c:forEach>
                    </select>
                </TD> 
            </TR>
            <TR>
                <TD><input type="submit" name="submit" value="Delete" /> </TD>
            </TR>
        </TABLE>
            <A HREF="Menu?redirection=back">Back</A>
    </body>
</html>
